<?php
    require ('../../Config.php');
    error_reporting(0);//屏蔽所有错误提示
    $User_Name = $_POST['User_Name'];
    $Pass_Word = $_POST['Pass_Word'];
    $conn = new mysqli($MySqlHost,$MySqlUser,$MySqlPwd,$MySqlDatabaseName);
    mysqli_query($conn, "set character set 'utf8'");//读库
    mysqli_query($conn,"set names 'utf8'");//写库
    $res = mysqli_query($conn,"SELECT * FROM admin_users where User_Name = '$User_Name' and Pass_Word = '$Pass_Word' ");
    if(mysqli_num_rows($res)){
        echo mysqli_fetch_row($res)[1];
    }else{
        echo "Error";
    }
